package lab02.test37;

public class Graduate extends Student {
    @Override
    String grade() {
        for (int j = 0; j <= 2; j++) {
            sum = sum + grade[j];
        }
        sum=sum/3;
        if (sum>=80){
            return "准许授予研究生学位";
        }
        else
            return "不授予研究生学位";
    }

}
